//
//  YLAPI.h
//  YLHelper
//
//  Created by she1323 on 2018/4/10.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import <Foundation/Foundation.h>


//#define ServerlUrl @"http://10.0.127.207"//服务器地址
//#define ServerlUrl @"http://10.0.127.238:8080"//服务器地址

#define ServerlUrl @"http://106.14.237.230:8080"//服务器地址
//#define ServerlUrl @"http://106.14.237.230"//服务器正式地址
#define ServerPictureUrl @""//服务器上传图片地址



//#define registerButtonUrl @"/api/Account/isIPhoneVersion" //

#define registerButtonUrl @"/api/Account/isIPhoneVersionNum"

#define orderOfPictureUrl @"/api/YinLaiZhuShow/UploadFile" //关于订单部分图片上传
#define otherOfPictureUrl @"/api/YinLaiZhuShow/OperateUploadFile" //关于非订单的图片上传的接口
/**
 首页API

 */
#define homeCyleImagesUrl @"/api/services/app/siteConfig/getAppSowingMap"//首页轮播图

#define homeHolidayInforUrl @"/api/services/app/siteConfig/getHolidayAll"//获取节假日
#define homeBottomScheduleUrl @"/api/services/app/siteConfig/getCalender" //获取首页底部日程
#define homeAllScheduleUrl @"/api/services/app/siteConfig/getCalenderAll" //获取个人用户全部日程
#define homeEditScheduleUrl @"/api/services/app/siteConfig/editCalender" //编辑日程
#define homeAddScheduleUrl @"/api/services/app/siteConfig/createCalender" //添加日程

#define homeDeleteScheduleUrl @"/SiteConfig/deleteCalender"//删除日程
#define homeScheduleDetailUrl @"/api/services/app/siteConfig/getCalenderDetail" //日程详情
#define dayinforlistUrl @"/api/services/app/siteConfig/getInformation" //资讯列表

#define homeScheduleTypeCalUrl @"/api/services/app/siteConfig/sumCalender" //日程类型统计

#define homeContainScheduleUrl @"/api/services/app/siteConfig.getCalendarByTime"//判断有日程的日期
#define homeGetAllYunyingUrl @"/api/services/app/notifications/apiNotifyMenageList" //获取运营公告
#define homeGetYunYingDetailUrl @"/api/services/app/notifications/apiGetNotificationDetail" //获取运营公告详情
/**
 用户信息API
 */
#define userLoginUrl @"/api/Account/userLogin" //用户登录
#define phoneLoginUrl @"/api/Account/userLoginByTel" //手机号登录
#define UserDetailUrl @"/api/services/app/siteConfig/getUserDetail" //用户详情
#define editUserUrl @"/api/services/app/siteConfig/editUser" //用户编辑
#define editUserDetailUrl @"/api/services/app/customer/apiGetCustomer" //编辑用户显示详情
#define changeUpdateDetailUrl @"/api/services/app/customer/apiGetChangeCustomer" //变更用户显示详情
#define userAccountCaculationUrl @"/api/services/app/orderInfo/apiGetCount" //用户客户统计/在线订单金额统计
/**
 工作
 @return 工作
 */

//#define editCustomerUrl @"/api/services/app/customer/apiUpdateCustomer" //编辑客户
#define editCustomerUrl @"/api/services/app/customer/apiUpdateCustomer" //编辑客户
#define updateCustomerUrl @"/api/services/app/customer/apiChangeCutomer"//变更客户



#define deleteCutomerUrl @"/api/services/app/customer/apiDeleteCustomer" //删除客户
#define addCustomerUrl @"/api/services/app/customer/apiCreateCustomer" //添加客户
#define CustomerDetailUrl  @"/api/services/app/customer/apiGetCustomerCode" //客户详情

#define getCustomerListUrl @"/api/services/app/customer/apiGetCustomers4User" //获取用户对应客户列表

#define getChooseCustomerListUrl @"/api/services/app/customer/apiGetCustomersList" //获取客户归属人变更的客户列表

#define getAppointmentProductUrl @"/api/services/app/product/apiGetAllowReservationProducts" //获取预约产品列表

#define addAppointmentUrl @"/api/services/app/customer/apiCreateReservation"//添加预约

#define cancelAppointmentUrl @"/api/services/app/customer/apiDeleteReservation" //取消预约

#define AppointmentUserInforUrl @"/api/services/app/customer/apiGetReaservationByUserID"//获取客户预约产品信息
/**
 订单部分接口
 */
#define getOrderListUrl @"/api/services/app/orderInfo/apiGetOrderInfoByOwner"//获取订单列表的URL
#define deleterOrderUrl @"/api/services/app/orderInfo/apiDeleteOrder"//删除订单

#define orderUpdateReCordUrl @"/api/services/app/orderInfo/apiGetChangeRecordApiModel" //订单变更记录
#define orderUpDateDetailUrl @"/api/services/app/orderInfo/apiGetChangeOrder" //订单变更详情

#define orderEditDetailUrl @"/api/services/app/orderInfo/apiGetEdit"//编辑订单详情

#define orderDetailInforUrl @"/api/services/app/orderInfo/apiGetDetail" //订单详情
#define addOrderUrl @"/api/services/app/orderInfo/apiCreateOrderinfocheck"//添加订单
#define editOrderUrl @"/api/services/app/orderInfo/apiEditOrderInfo" //编辑订单
#define updateOrderUlr @"/api/services/app/orderInfo/apichangeOrderIs" //变更订单
#define getAddOrderBasicUrl @"/api/services/app/orderInfo/apigetCreateInformation" //添加订单获取基本信息

#define addOrderOfProductListUrl @"/api/services/app/product/apiGetPageProducts" //添加订单获取产品列表
#define bankListUrl @"/api/services/app/customer/apiGetCustomerBankCard" //银行卡列表
#define getContinuInvestUrl @"/api/services/app/orderInfo/apiGetContinueOrderInfo" //获取可续投订单




#define judgeContinueOrderUrl @"/api/services/app/orderInfo/apiGetIsExit" //判断是否为续投订单
#define judgeProductAppointUrl @"/api/services/app/customer/apiIsOrderReservation" //判断产品是否已经预约

#define homeProductInformation @"/api/services/app/projectInfo/apiGetProductList" //产品信息

/**
 工具的URL
 */
#define VideoListUrl @"/api/services/app/elearning/listVideo"//获取视频列表
#define VideoDetailUrl @"/api/services/app/elearning/getVideoDetail"//视频详情
#define VideoPriseUrl @"/api/services/app/elearning/videoPraise"//视频点赞
#define VideoCollectUrl @"/api/services/app/Elearning/collectionVideo"//视频收藏
#define VideoPlayCountUrl @"/api/services/app/elearning/addVideoOpenCount" //视频播放次数+1


#define videoCancelColleUrl @"/api/services/app/Elearning/cancelCollectionVideo"//视频取消收藏
#define examTestUrl @"/api/services/app/elearning/getExaminationPaperDetail" //开始练习(获取练习习题)
#define examTestCollectUrl @"/api/services/app/elearning/collectionPractice" //习题收藏

#define mycollectionPracticeListUrl @"/api/services/app/elearning/getCollectionPracticeList" //我的习题收藏的列表
#define examTestCancelCollectUrl @"/api/services/app/elearning/cancelCollectionPractice" //取消习题收藏
#define myCollectVideoUrl @"/api/services/app/elearning/listCollectionVideo"//我的视频收藏列表
#define submitPracticeUrl @"/api/services/app/elearning/submitPractice" //提交练习题
#define submitKaoshiUrl @"/api/services/app/elearning/submitExamination"//提交考试
#define startKaoshiUrl @"/api/services/app/elearning/startExamination" //开始考试
#define judgeWheatherKaoshiUrl @"/api/services/app/elearning/WhetherQuestionBank" //是否有未考试试卷


#define examnationListUrl @"/api/services/app/elearning/apiGetQuestionBanks" //考试列表
#define examnationDetailUrl @"/api/services/app/elearning/getUserExaminationDetail" //试卷的详情
#define addNewVisitUrl @"/api/services/app/customer/apiInsertCallRecord"//添加新的拜访
#define deleteVisitRecordUrl @"/api/services/app/customer/apiDeleteCallRecord" //删除拜访记录
#define visitRecordUrl @"/api/services/app/customer/apiGetCallRecord"//拜访记录
#define getMyCheckUrl @"/api/services/app/customer/apiGetUserBychangeStatus" //获取我的审批

#define getMyApplyUrl @"/api/services/app/customer/apiGetUserBychangeStatusApply" //获取我的申请
#define getMyApplyDetailUrl @"/api/services/app/customer/apiCustomerOrderDetail" //获取我的申请的详情


#define getMyAlreadyCheckDetailUrl @"/api/services/app/customer/apiGetCustomerChange" //获取已审批归属人记录详情

#define getMyWaitCheckCustomerOwnerChangeUrl @"/api/services/app/customer/apiGetChangeApplies" //审批获取客户归属变更信息

#define orderChangedReCord @"/api/services/app/orderInfo/apiGetChangeRecordApiModel"
#define orderCheckedRecord @"/api/services/app/orderInfo/apiGetOrderApplys"

#define getMyContinueApplyUrl @"/api/services/app/orderInfo/apiGetOrderContinues" //获取我的续投的申请

#define getMyContinueApplyDetailUrl @"/api/services/app/orderInfo/apiGetOrderContinueallDetail" //获取我的续投的申请的详情
#define getFenzongUrl @"/api/services/app/orderInfo/apiGetLeader" //获取分总
#define getYewuyuanUrl @"/api/services/app/orderInfo/apiGetUser" //获取业务员
#define commitCustomerOwnerUrl  @"/api/services/app/customer/apiChangeCustomerOwner" //提交客户归属变更

#define commitCheckCustomerOwnerUrl @"/api/services/app/customer/apiApprovel" //提交客户归属变更审批


#define orderChangeCustomeInformation @"/api/services/app/customer/apiGetCustomerRefresh" //订单更新客户信息

#define getCanApplyContinueInvestUrl @"/api/services/app/orderInfo/apiGetContinueOrderInfoApply" //获取可申请续投订单列表
#define judeIsInSystemUrl @"/api/services/app/orderInfo/apiGetIsExit" //判断续投订单是否在系统中
#define ContinueOrderInvestJudgeUrl @"/api/services/app/orderInfo/apiJudgeCont"

#define commitContineOrderChangeUrl @"/api/services/app/orderInfo/apiCreateOrderContinue" //提交续投订单申请
#define getVoucherListUrl @"/api/services/app/voucher/GetUsableVoucherList" //优惠券
#define waitHandorderUrl @"/api/services/app/orderInfo/apiGetOrderInfoStatu" //待处理订单
#define waitHandCustomerUrl @"/api/services/app/customer/apiGetCustomersByStatu" //待处理客户
#define sendPhoneCode @"/api/Account/apiRegVerifyCode" //获取手机验证码
#define comparePhoneCode @"/api/Account/apiISVerificationCode" //校验验证码
#define changePassword @"/api/Account/updatepassword" //修改验证码
#define getDayInformationDetailUrl @"/api/services/app/SiteConfig/getInformarionAppDetail" //获取每日资讯的详情

#define dayInformationDetailUrl @"/api/YinLaiZhuShow/InformationDetail" //每日资讯的详情

#define recentDayScheduleListUrl @"/api/services/app/siteConfig/CustomerAddCalender" //获取日程列表
#define zhangShangCardShareUrl @"/api/YinLaiZhuShow/CardShare" //掌上名片分享接口

//个人日报表接口

#define monthAddCustomerUrl @"/api/services/app/userReport/apiGetNewCustomerToMonth" //个人当月新客增长数

#define dayAddCustomerUrl @"/api/services/app/userReport/apiGetNewCustomerToDay" //个人当天新客增长数

#define monthOtherDailyChartUrl @"/api/services/app/userReport/apiGetPersonalReportMonth" //个人当月规模业绩，年化业绩，折标率

#define dayOtherDailyChartUrl @"/api/services/app/userReport/apiGetPersonalReportDay" //个人当天规模业绩，年化业绩，折标率

#define sevendayOtherDailyChartUrl @"/api/services/app/userReport/apiGetPersonalReportSection" //个人过去7天规模业绩，年化业绩，折标率

#define dayxutoulvUrl @"/api/services/app/userReport/apiGetPersonalMarkingRate" //个人当天续投率
#define monthxutoulvUrl @"/api/services/app/userReport/apiGetPersonalMarkingRateToMonth" //个人当月续投率
#define sevendayxutoulvUrl @"/api/services/app/userReport/apiGetMarkingRatePersonalSevenDay" //个人七天续投率
#define seventdayCustomerUrl @"/api/services/app/userReport/apiGetNewCustomerToSevenDay" //个人七天新客增长数

#define dayRankPositionUrl @"/api/services/app/userReport/apiGetPerformanceRankingByToDay" //个人当天规模业绩，年化业绩排名

#define monthRankPositionUrl @"/api/services/app/userReport/apiGetPerformanceRankingByToMonth" //个人当月规模业绩，年化业绩排名
#define thirtyGuimoyejiListUrl @"/api/services/app/userReport/apiGetPerformanceRanking" //个人规模业绩前30名
#define thirtyNianhuayejiListUrl  @"/api/services/app/userReport/apiGetPerFormanceRateRank" //个人年化业绩前30名

//团队日报表接口
#define teamLeaderGetEmployerUrl @"/api/services/app/userReport/apiGetDepatmentName" //团队负责人获取下级团队人员列表

#define teamDayOtherDailyChartUrl @"/api/services/app/userReport/apiGetTeamReportDay" //团队当天规模业绩，年化业绩，折标率

#define teamSevendayOtherDailyChartUrl @"/api/services/app/userReport/apiGetTeamReportSection" //团队七天规模业绩，年化业绩，折标率
#define teamMonthOtherDailyChartUrl @"/api/services/app/userReport/apiGetTeamReportMonth" //团队当月规模业绩，年化业绩，折标率
#define teamDayCustomerUrl @"/api/services/app/userReport/apiGetNewCustomerTeamToDay" //团队当天新客增长数
#define teamMonthCusotmerUrl @"/api/services/app/userReport/apiGetNewCustomerTeamToMonth" //团队当月新客增长数
#define teamSevenDayCustomerUrl @"/api/services/app/userReport/apiGetNewCustomerTeamToSevenDay" //团队七天新客增长数
#define teamDayXutoulvUrl @"/api/services/app/userReport/apiGetTeamMarkingRate" //团队当天续投率
#define teamMonthXutoulvUrl @"/api/services/app/userReport/apiGetTeamMarkingRateToMonth" //团队当月续投率
#define teamSevenDayXutoulvUrl @"/api/services/app/userReport/apiGetMarkingRateTeamSevenDay"//团队七天续投率
#define teamDayRankPositionUrl @"/api/services/app/userReport/apiGetPerFormanceTeamRankToDay" //团队当天规模业绩，年化业绩排名
#define teamMonthRankPositionUrl @"/api/services/app/userReport/apiGetPerFormanceTeamRankToMonth" //团队当月规模业绩，年化业绩排名
#define teamThirtyGuimoyejiListUrl @"/api/services/app/userReport/apiGetPerFormanceTeamRank" //团队规模业绩前30名
#define teamThirtyNianhuayejiListUrl @"/api/services/app/userReport/apiGetPerFormanceRateTeamRank" //团队年化业绩前30名
#define teamDayRenjunEmergyUrl @"/api/services/app/userReport/apiGetTeamAverageProductivityToDay" //团队当天人均产能
#define teamMonthRenjunEmergyUrl @"/api/services/app/userReport/apiGetTeamAverageProductivityToMonth" //团队当月人均产能
#define teamSevenDayRenjunEmergyUrl @"/api/services/app/userReport/apiGetTeamAverageProductivityToSevenDay" //团队七天人均产能


